
#ifndef FRAME_FILLER_H
#define FRAME_FILLER_H

#include "qr-const.h"

C_BEGIN_DECLS

typedef struct
{
	unsigned char* _frame;	// No ownership.
	int _width;
	int _x;
	int _y;
	FillState _state;
	FillDirection _direction;
} FrameFiller;

FrameFiller* frame_filler_new(unsigned char* frame, int version);
void frame_filler_destroy(FrameFiller* frame_filler);
unsigned char* frame_filler_next(FrameFiller* frame_filler);

C_END_DECLS

#endif	// FRAME_FILLER_H

